package com.zhuliwei.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (ChatContent)表实体类Vo
 *
 * @author 朱力维
 * @since 2023-05-14 19:38:45
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatContentVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ExcelIgnore
    private String id;
    @ExcelProperty("提问内容")
    private String question;
    @ExcelProperty("回答内容")
    private String answer;
    @ExcelIgnore
    private String balance;
    @ExcelProperty("用户IP")
    private String ipAddress;
    //0:普通问答1：文生图2：语音生成3：语音翻译4：多模态
    @ExcelProperty("聊天类型")
    private String type;
    @ExcelProperty("聊天状态")
    //0：正常回答1：出现异常
    private Integer status;
    //提问者用户名
    @ExcelProperty("提问者用户名")
    private String userName;
    @ExcelProperty("提问时间")
    private Date createTime;
    //提问者id
    @ExcelIgnore
    private String createBy;

}

